Method and system for an atomizing function of a mobile device

ABSTRACT

Methods and systems for an atomizing function for a mobile device are disclosed and may include discovering available resources via a handheld wireless communication device (HWCD) and assessing respective cost functions for processing tasks by the HWCD and/or the discovered resources. The tasks may be apportioned for local and/or remote execution by the HWCD and/or the discovered resources based on the assessed cost functions. The assessed cost functions may be dependent on factors comprising communication bandwidth, memory space, CPU processing power, and battery power, which may be weighted. The cost functions may be dynamically assessed, enabling dynamic reapportioning of the tasks, which may be apportioned based on latency, quality of service (QoS), priority and/or user preferences associated with the local and/or remote execution. The apportioning of the processing of the tasks may be based on the assessed cost functions, and a priority and/or a QoS associated with the task.

CROSS-REFERENCE TO RELATED APPLICATIONS/INCORPORATION BY REFERENCE

This application makes reference to and claims priority to U.S. Provisional Application Ser. No. 60/951,014, filed on Jul. 20, 2007, which is incorporated herein by reference in its entirety.

This application makes reference to:

-   U.S. patent application Ser. No. 11/968,595 filed on Jan. 2, 2008; -   U.S. patent application Ser. No. 11/865,804 filed on Oct. 2, 2007;     and -   U.S. patent application Ser. No. 11/865,805 filed on Oct. 2, 2007.

Each of the above stated applications is hereby incorporated herein by reference in its entirety.

FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT

[Not Applicable]

MICROFICHE/COPYRIGHT REFERENCE

[Not Applicable]

FIELD OF THE INVENTION

Certain embodiments of the invention relate to handling processing of information in a communication network. More specifically, certain embodiments of the invention relate to a method and system for an atomizing function of a wireless device.

BACKGROUND OF THE INVENTION

The field of wireless communication has seen dramatic growth the last few years. In today's world, most people use their wireless devices, be it cellular phones, PDA's, laptops, and/or other devices, for various purposes, business and personal, on a constant and daily basis. Society is truly becoming a wireless one. Many wireless solutions have been introduced, and have made tremendous strides into everyday life.

For example, the use of Wireless Personal Area Networks (WPAN) has been gaining popularity in a great number of applications because of the flexibility and convenience in connectivity they provide. WPAN systems generally replace cumbersome cabling and/or wiring used to connect peripheral devices and/or mobile terminals by providing short distance wireless links that allow connectivity within very narrow spatial limits (typically, a 10-meter range). WPAN may be based on standardized technologies, for example Class 2 Bluetooth (BT) technology. While WPAN may be very beneficial for certain applications, other applications may require larger service areas and/or capabilities.

To satisfy such needs, other technologies have been developed to provide greater wireless service. Wireless Local Area Networks (WLAN) systems may operate within a 100-meter range, for example. In contrast to the WPAN systems, WLAN provide connectivity to devices that are located within a slightly larger geographical area, such as the area covered by a building or a campus, for example. WLAN systems are generally based on specific standards, for example IEEE 802.11 standard specifications, and typically operate within a 100-meter range, and are generally utilized to supplement the communication capacity provided by traditional wired Local Area Networks (LANs) installed in the same geographic area as the WLAN system.

Other forms of wireless solutions have evolved from traditional land-based communication technologies. For instance, cellular phones have become just about an absolute necessity in today's world. While cellular technology was merely intended to add an element of mobility to the traditional telephony service, this technology has grown beyond that initial purpose. Many modern cellular technologies, including such technologies as GSM/GPRS, UMTS, and CDMA2000 may incorporate substantial data capabilities. Most of today's cellular services may include such features as text messaging, video streaming, web browsing . . . etc.

Some mobile devices have the capability to utilize one or more wireless technologies. For instance, WLAN systems may be operated in conjunction with WPAN systems to provide users with an enhanced overall functionality. For example, Bluetooth technology may be utilized to connect a laptop computer or a handheld wireless terminal to a peripheral device, such as a keyboard, mouse, headphone, and/or printer, while the laptop computer or the handheld wireless terminal may also be connected to a campus-wide WLAN network through an access point (AP) located within the building. Also, cellular technology may allow use of the mobile phone as a form of wireless modem that allows connecting a laptop, for example, to the internet via a cellular network.

Just as with other electronic devices, wireless communication devices have seen substantial growth in performance capability and speed. As such, they are finding applications in areas not predicted when first introduced to give users mobile telephony. They may comprise mini computers, multimedia players, GPS devices and many other applications, for example.

Further limitations and disadvantages of conventional and traditional approaches will become apparent to one of skill in the art, through comparison of such systems with the present invention as set forth in the remainder of the present application with reference to the drawings.

BRIEF SUMMARY OF THE INVENTION

A system and/or method for an atomizing function of a wireless device, substantially as shown in and/or described in connection with at least one of the figures, as set forth more completely in the claims.

Various advantages, aspects and novel features of the present invention, as well as details of an illustrated embodiment thereof, will be more fully understood from the following description and drawings.

BRIEF DESCRIPTION OF SEVERAL VIEWS OF THE DRAWINGS

FIG. 1 is a block diagram of an exemplary WLAN infrastructure network comprising basic service sets (BSSs) integrated using a common distribution system (DS), in accordance with an embodiment of the invention.

FIG. 2 is a block diagram illustrating exemplary resource utilization in accordance with an embodiment of the invention.

FIG. 3 is a block diagram illustrating an exemplary embodiment comprising limited local resources, in accordance with an embodiment of the invention.

FIG. 4 is a block diagram of a parallel resource utilization configuration, in accordance with an embodiment of the invention.

FIG. 5 is a flow diagram of an exemplary cost function and task execution process, in accordance with an embodiment of the invention.

DETAILED DESCRIPTION OF THE INVENTION

Certain aspects of the invention may be found in a method and system for an atomizing function of a wireless device. Exemplary aspects of the invention may comprise discovering one or more available resources via a handheld wireless communication device (HWCD) in a communication network and assessing respective cost functions for processing one or more tasks by the HWCD and/or the discovered one or more available resources. The tasks may be apportioned for local execution by the HWCD and/or for remote execution by the discovered one or more available resources based on the assessed respective cost functions. The assessed respective cost functions for processing the one or more tasks by the HWCD and/or the discovered one or more available resources may be dependent on one or more factors comprising available communication bandwidth, available memory space, available CPU processing power, and available battery power, each of which may be weighted. The cost functions may be dynamically assessed, which may enable dynamic reapportioning of the one or more tasks. The one or more tasks may be apportioned based on latency, quality of service (QoS), priority and/or user preferences associated with the local execution and/or the remote execution. The HWCD and/or the discovered one or more available resources may be selected for the processing of the task based on the assessed respective cost functions, and a priority and/or a QoS associated with the task.

FIG. 1 is a block diagram of an exemplary WLAN infrastructure network comprising basic service sets (BSSs) integrated using a common distribution system (DS), in accordance with an embodiment of the invention. Referring to FIG. 1, the exemplary WLAN infrastructure network 100 shown may comprise a handheld wireless communication device (HWCD) 103, a first BSS 102 a, a second BSS 102 b, a DS 104, a wired network 106, a portal 108, a first access point (AP) 112 a, a second AP 102 b, the Internet 119 and a plurality of WLAN stations 110 a and 110 b.

The HWCD 103 may comprise suitable circuitry, logic and/or code that may be enabled to provide wireless communication between a user and networked resources. In an exemplary embodiment of the invention, the HWCD 103 may comprise a cellular phone that may be capable of communicating utilizing multiple wireless protocols such as cellular, WLAN, WiMax, Bluetooth, RFID and NFC, for example.

The BSSs 102 a and 102 b may represent a fundamental building block of the IEEE 802.11 (WLAN) architecture and may be defined as a group of stations that are under the direct control of a single coordination function. The geographical area covered by a BSS is known as the basic service area (BSA). The DS 104 may be utilized to integrate the BSSs 102 a and 102 b and may comprise suitable hardware, logic, circuitry and/or code that may be adapted to operate as a backbone network that is responsible for Medium Access Control (MAC) level transport in the WLAN infrastructure network 100. The DS 104, as specified by the IEEE 802.11 standard, may be implementation independent. For example, the DS 104 may be implemented utilizing IEEE 802.3 Ethernet Local Area Network (LAN), IEEE 802.4 token bus LAN, IEEE 802.5 token ring LAN, Fiber Distributed Data Interface (FDDI) Metropolitan Area Network (MAN), or another IEEE 802.11 wireless medium. The DS 104 may be implemented utilizing the same physical medium as either the first BSS 102 a or the second BSS 102 b. However, the DS 104 may be logically different from the BSSs and may be utilized only to transfer packets between the BSSs and/or to transfer packets between the BSSs and the wired network 106.

The wired network 106 may comprise suitable hardware, logic, circuitry, and/or code that may be adapted to provide wired networking operations. The wired network 106 may be accessed from the WLAN infrastructure network 100 via the portal 108. The portal 108 may comprise suitable hardware, logic, circuitry, and/or code and may be adapted to integrate the WLAN infrastructure network 100 with non-IEEE 802.11 networks. Moreover, the portal 108 may also be adapted to perform the functional operations of a bridge, such as range extension and/or translation between different frame formats, in order to integrate the WLAN infrastructure network 100 with IEEE 802.11-based networks.

The APs 112 a and 112 b may comprise suitable hardware, logic, circuitry and/or code that may be adapted to support range extension of the WLAN infrastructure network 100 by providing the integration points necessary for network connectivity between the BSSs. The WLAN stations 110 a and 110 b correspond to WLAN-enabled terminals that comprise suitable hardware, logic, circuitry and/or code that may be adapted to provide connectivity to the WLAN infrastructure network 100 via the APs. The WLAN station 110 a shown is a laptop computer and may correspond to a mobile station or terminal within the BSS and the WLAN station 110 b shown is a desktop computer and may correspond to a fixed or stationary terminal within the BSS. Each BSS may comprise a plurality of mobile or fixed stations and may not be limited to the exemplary implementation shown in FIG. 1.

In operation, the HWCD 103 may be utilized to perform specific tasks. The tasks may require varying degrees of processing power and/or communication bandwidth, for example. Accordingly, the HWCD 103 may discover local resources and their appropriate performance factors related to the desired task. In order for the HWCD 103 to determine what tasks and/or what portions of what tasks may be atomized and communicated to other locations and/or resources for execution, many variables may be taken into account. Each variable may have its own associated weight function which may be derived from user preferences as well as application needs and requirements. Further weights may be assigned based on the capabilities of the HWCD 103 and the discovered resources.

Accordingly, a cost function may be defined as a calculated numerical value indicative of the desirability of a particular configuration in performing a desired task, wherein a high cost function may be less desirable, due to the higher cost of performing it in terms of required bandwidth, processor time and actual monetary cost, for example. A cost function may also be referred to as a cost equation, a weight factor or cost factor, for example. A number of factors may be incorporated in calculating a cost function and may comprise communication bandwidth available to the HWCD 103 and local and remote resources, the cost of communication (free WiFi versus tolled cellular access), memory available, processing power available to the HWCD 103, battery power remaining in the HWCD 103, the availability of certain applications to the HWCD 103, resource needs of the certain applications, availability of networked resources and security requirements for the specific tasks, for example. Additionally, latency requirements, Quality of Service (QoS), priority and/or user preferences regarding the aforementioned factors may be incorporated in calculating the cost functions. These factors incorporated into the cost function may be weighted such that certain factors may be considered more important than others in certain situations. For example, processing capability may be of higher importance, or weight, for a task that requires extensive processing.

The HWCD 103 may calculate the cost associated with each possible resource utilization combination, and determine the most cost effective option based on user preferences, which may be stored locally to or remotely from the HWCD 103. In instances where a task may require extensive processing but not extensive communication bandwidth, the task may be communicated to a networked resource, such as the WLAN station 110 b, for example, for processing. In instances where a task may require limited processing power and communication bandwidth may be scarce and/or expensive, the task may be performed locally on the HWCD 103. The factors used to determine the cost function may vary depending on the task.

In another embodiment of the invention, a task may be atomized, or partitioned into multiple smaller tasks, which may be apportioned to and executed by one or more resources including the HWCD 103, either in parallel or sequentially, for example.

FIG. 2 is a block diagram illustrating exemplary resource utilization in accordance with an embodiment of the invention. Referring to FIG. 2, there is shown a local network 201, a cellular tower 211, the Internet 119 and a home network 213. The local network 201 may comprise the HWCD 103, a PC host 203, a wireless access point 205, a wired PC host 207 and a networked monitor 209. The PC host 203 and the wired PC host 207 may comprise computing systems, for example, that may be enabled to perform specific tasks as requested by the HWCD 103. The wired PC host 207 may be communicatively coupled to the wireless access point 205, which may enable wireless communication of resources within the local network 201. The home network 213 may comprise a wired PC host 215 which may be communicatively coupled to the Internet 119.

In operation, the HWCD 103 may be utilized to perform specific tasks. The tasks may be performed in conjunction with one or more networked resources, including the PC host 203, the wired PC host 207, the networked monitor 209, and/or the wired PC host 215, for example. A cost function, as described with respect to FIG. 1 may be calculated for each of the possible resource utilization configurations. The HWCD 103 may enable the utilization configuration with the lowest cost function of all the calculated options.

In an exemplary embodiment, in instances where the specific task to be performed requires extensive processing power, the task may be communicated to one or more resources, such as the PC host 203, the wired PC host 207, and/or the wired PC host 215. In instances where the communication bandwidth of the local network 201 may be limited and/or restricted, the HWCD 103 may communicate the specific task to the wired PC host 215 via the cellular tower 211 and the Internet 119. If the security of the local network 201 may be questionable as compared to the cellular network capability provided by the cellular tower 211, the calculated cost function may be high for the local network 201 utilization configurations as compared to utilizing the wired PC host 215 in the home network 213.

In instances where the specific task may require significant processing power as well as communication bandwidth, such as with the rendering of a large video file, for example, and the communication bandwidth of the local network 201 may be significantly higher than the cellular service provided by the cellular tower 211, the cost function of the local network 201 configurations may be lower compared to utilizing the wired PC host 215 in the home network 213. In an exemplary embodiment, the HWCD 103 may query of the resources in a network whether they can transcode or convert multimedia content and the cost of such a task, with this information incorporated into the calculation of the cost function. In this instance, the HWCD 103 may communicate the task to one or more of the PC host 203 and the wired PC host 207. Additionally, if the user of the HWCD 103 has a preference of a large screen for the display of video data, the HWCD 103 may communicate the rendered video to the networked monitor 209.

In another embodiment of the invention, if firmware, software and/or code which may be utilized to perform a specific task may not be available to a resource in the local network 201, and the task requires extensive processing power, the task may be communicated to a resource where the firmware, software and/or code may be available, such as on the wired PC host 215.

FIG. 3 is a block diagram illustrating an exemplary embodiment comprising limited local resources, in accordance with an embodiment of the invention. Referring to FIG. 3, there is shown a business 301, the Internet 119 and the home network 213. The business may comprise a location, such as a coffee house, for example, where there may be no local resources that may be utilized but where there may be low cost wireless services. The wireless access point 303 may be enabled to provide the wireless communication between wireless devices such as the HWCD 103, for example, and the Internet 119.

In operation, the HWCD 103 may be utilized to perform a task. The cost function as described with respect to FIG. 1 may be calculated for the possible configurations. In this case, as there are no local processing resources, if the task requires significant processing that may be too intensive for the HWCD 103 to perform, the task may be communicated to the PC host 215 in the home network 213 via the Internet 119 and the wireless access point 303. In another embodiment of the invention, the task may be atomized into sub-tasks and the cost function may be calculated for each configuration possible for the completion of the task. The sub-tasks may then be apportioned to the one or more resources that result in the best, or lowest, cost function. For example, numerous smaller sub-tasks may be performed locally on the HWCD 103 and larger, processing-intensive sub-tasks may be performed by the PC host 215.

FIG. 4 is a block diagram of a parallel resource utilization configuration, in accordance with an embodiment of the invention. Referring to FIG. 4, there is shown the HWCD 103, a wireless access point 401 and a plurality of PC hosts 403, 405, 407 and 409. The wireless access point 401 may comprise suitable circuitry, logic and/or code that may enable wireless communication between the HWCD 103 and the PC hosts 403, 405, 407 and 409.

In operation, the HWCD 103 may be utilized to perform a task. The cost function as described with respect to FIG. 1 may be calculated for the possible configurations, with processing performed locally on the HWCD 103, via one or more of the PC hosts 403, 405, 407 and 409, or a combination of the two. In instances where the speed of execution of the task may be of most importance, the task may be atomized, or partitioned into multiple sub-tasks. These sub-tasks may be communicated to the PC hosts 403, 405, 407 and 409 that may be enabled to perform the sub-tasks in parallel, thus increasing the speed of execution of the task.

In an embodiment of the invention, the cost functions of the plurality of possible configurations may be dynamic as needed, and may be recalculated and re-atomized as the various factors may adjust, such as through changes in communication bandwidth or available processing power of resources.

FIG. 5 is a flow diagram of an exemplary cost function and task execution process, in accordance with an embodiment of the invention. Following start step 501, in step 503, resources available to the HWCD 103 for performing one or more tasks may be assessed. In step 505, cost functions for each possible configuration may be calculated. In step 507, the task or sub-tasks may be communicated to the one or more resources calculated to have the best cost function for completing the task, followed by step 509 where the task or sub-tasks are executed, and end step 511.

In an embodiment of the invention, a method, system and machine-readable code are disclosed for discovering one or more available resources via a handheld wireless communication device (HWCD) 103 in a communication network and assessing respective cost functions for processing one or more tasks by the HWCD 103 and/or the discovered one or more available resources 203, 207, 209, 403, 405, 407 and 409. The tasks may be apportioned for local execution by the HWCD 103 and/or for remote execution by the discovered one or more available resources 203, 207, 209, 403, 405, 407 and 409 based on the assessed respective cost functions. The assessed respective cost functions for processing the one or more tasks by the HWCD 103 and/or the discovered one or more available resources 203, 207, 209, 403, 405, 407 and 409 may be dependent on one or more factors comprising available communication bandwidth, available memory space, available CPU processing power, and available battery power, each of which may be weighted. The cost functions may be dynamically assessed, which may enable dynamic reapportioning of the one or more tasks. The one or more tasks may be apportioned based on latency, quality of service (QoS), priority and/or user preferences associated with the local execution and/or the remote execution. The HWCD 103 and/or the discovered one or more available resources 203, 207, 209, 403, 405, 407 and 409 may be selected for the processing of the task based on the assessed respective cost functions, and a priority and/or a QoS associated with the task.

Certain embodiments of the invention may comprise a machine-readable storage having stored thereon, a computer program having at least one code section for communicating information within a network, the at least one code section being executable by a machine for causing the machine to perform one or more of the steps described herein.

Accordingly, aspects of the invention may be realized in hardware, software, firmware or a combination thereof. The invention may be realized in a centralized fashion in at least one computer system or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system or other apparatus adapted for carrying out the methods described herein is suited. A typical combination of hardware, software and firmware may be a general-purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein.

One embodiment of the present invention may be implemented as a board level product, as a single chip, application specific integrated circuit (ASIC), or with varying levels integrated on a single chip with other portions of the system as separate components. The degree of integration of the system will primarily be determined by speed and cost considerations. Because of the sophisticated nature of modern processors, it is possible to utilize a commercially available processor, which may be implemented external to an ASIC implementation of the present system. Alternatively, if the processor is available as an ASIC core or logic block, then the commercially available processor may be implemented as part of an ASIC device with various functions implemented as firmware.

The present invention may also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which when loaded in a computer system is able to carry out these methods. Computer program in the present context may mean, for example, any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following: a) conversion to another language, code or notation; b) reproduction in a different material form. However, other meanings of computer program within the understanding of those skilled in the art are also contemplated by the present invention.

While the invention has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the present invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present invention without departing from its scope. Therefore, it is intended that the present invention not be limited to the particular embodiments disclosed, but that the present invention will include all embodiments falling within the scope of the appended claims. 

What is claimed is:
 1. A method for handling processing of information in a communication network, the method comprising: in a handheld wireless communication device (HWCD): discovering one or more available resources in a communication network; assessing respective cost functions for processing one or more tasks by one or both of said handheld wireless communication device and said discovered one or more available resources, wherein each of the respective cost functions depends on a plurality of resources used in performing the one or more tasks, wherein each of the respective cost functions takes into account an actual monetary cost of at least one of the resources; and apportioning said one or more tasks for one or both of local execution by said handheld wireless communication device and remote execution by said discovered one or more available resources based on said assessed respective cost functions, wherein said handheld wireless communication device is coupled to the communication network through a first network and at least one of said discovered one or more available resources is coupled to the communication network through a second network, and wherein said assessed respective cost functions take into account respective security capabilities of the first network and of the second network.
 2. The method according to claim 1, wherein one or both of said assessed respective cost functions for processing said one or more tasks by said handheld wireless communication device and said discovered one or more available resources is dependent on one or more factors comprising available communication bandwidth, available memory space, and available CPU processing power.
 3. The method according to claim 2, wherein said one or more factors are each weighted by a weighting factor.
 4. The method according to claim 3, wherein at least one of said weighting factors is provided as a user preference.
 5. The method according to claim 1, comprising apportioning said one or more tasks based on latency associated with one or both of said local execution and said remote execution.
 6. The method according to claim 1, comprising apportioning said one or more tasks for one of both of said local execution and said remote execution based on a quality of service (QoS) associated with said one or more tasks.
 7. The method according to claim 1, comprising apportioning said one or more tasks for one of both of said local execution and said remote execution based on a priority associated with said one or more tasks.
 8. The method according to claim 1, wherein said assessing respective cost functions is based on user preference.
 9. The method according to claim 1, wherein said assessed respective cost functions take into account a cost of a transcoding function required by said one or more tasks as performed by said discovered one or more available resources.
 10. The method according to claim 1, wherein said assessed respective cost functions take into account an available battery power of said handheld wireless device and/or said discovered one or more available resources.
 11. A non-transitory computer-readable medium having stored thereon, a computer program having at least one code section for handling processing of information in a communication network, the at least one code section being executable by a machine for causing the machine to perform steps comprising: in a handheld wireless communication device (HWCD): discovering one or more available resources in a communication network; assessing respective cost functions for processing one or more tasks by one or both of said handheld wireless communication device and said discovered one or more available resources; and apportioning said one or more tasks for one or both of local execution by said handheld wireless communication device and remote execution by said discovered one or more available resources based on said assessed respective cost functions and based on a quality of service (QoS) associated with each of said one or more tasks, wherein said handheld wireless communication device is coupled to the communication network through a first network and at least one of said discovered one or more available resources is coupled to the communication network through a second network, and wherein said assessed respective cost functions take into account respective security capabilities of the first network and of the second network.
 12. The non-transitory computer-readable medium according to claim 11, wherein one or both of said assessed respective cost functions for processing said one or more tasks by said handheld wireless communication device and said discovered one or more available resources is dependent on one or more factors comprising available communication bandwidth, available memory space, available CPU processing power, and available battery power.
 13. The non-transitory computer-readable medium according to claim 11, wherein said at least one code section comprises code for dynamically assessing said respective cost functions.
 14. The non-transitory computer-readable medium according to claim 13, wherein said at least one code section comprises code for dynamically reapportioning said one or more tasks based on said dynamic assessment.
 15. The non-transitory computer-readable medium according to claim 11, wherein said at least one code section comprises code for apportioning said one or more tasks based on latency associated with one of both of said local execution and said remote execution.
 16. The non-transitory computer-readable medium according to claim 11, wherein said at least one code section comprises code for apportioning said one or more tasks for one of both of said local execution and said remote execution based on a priority associated with said one or more tasks.
 17. The non-transitory computer-readable medium according to claim 11, wherein said at least one code section comprises code for assessing respective cost functions based on user preference.
 18. The non-transitory computer-readable medium according to claim 11, wherein each of the respective cost functions depends on a plurality of resources used in performing the one or more tasks, wherein each of the respective cost functions takes into account an actual monetary cost of at least one of the resources.
 19. A system for handling processing of information in a communication network, the system comprising: a handheld wireless communication device (HWCD) comprising one or more processors, said one or more processors discovers one or more available resources in a communication network; said one or more processors assesses respective cost functions for processing one or more tasks by one or both of said handheld wireless communication device and said discovered one or more available resources; and said one or more processors apportions said one or more tasks for one or both of local execution by said handheld wireless communication device and remote execution by said discovered one or more available resources based on said assessed respective cost functions and on a latency associated with each of said one or more tasks, wherein said handheld wireless communication device is coupled to the communication network through a first network and at least one of said discovered one or more available resources is coupled to the communication network through a second network, and wherein said assessed respective cost functions take into account respective security capabilities of the first network and of the second network.
 20. The system according to claim 19, wherein one or more of said assessed respective cost functions for processing said one or more tasks by said handheld wireless communication device and said discovered one or more available resources is dependent on one or more factors comprising available communication bandwidth, available memory space, available CPU processing power, and available battery power.
 21. The system according to claim 20, wherein said one or more factors are weighted.
 22. The system according to claim 19, wherein said one or more processors dynamically assesses said respective cost functions.
 23. The system according to claim 22, wherein said one or more processors dynamically reapportions said one or more tasks based on said dynamic assessment.
 24. The system according to claim 19, wherein said one or more processors apportions said one or more tasks for local execution and/or for said remote execution based on a quality of service (QoS) associated with said one or more tasks.
 25. The system according to claim 19, wherein said one or more processors apportions said one or more tasks for local execution and/or for said remote execution based on a priority associated with said one or more tasks.
 26. The system according to claim 19, wherein said one or more processors enables selection of said handheld wireless communication device and/or said discovered one or more available resources for said processing based on said assessed respective cost functions, and a priority and/or a QoS associated with said task.
 27. The system according to claim 19, wherein each of the respective cost functions depends on a plurality of resources used in performing the one or more tasks, wherein each of the respective cost functions takes into account an actual monetary cost of at least one of the resources. 